package cn.guoxuepeng.hrm.mapper;

import cn.guoxuepeng.hrm.domain.RolePermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gxp
 * @since 2020-06-19
 */
public interface RolePermissionMapper extends BaseMapper<RolePermission> {

    void insertBatch(@Param("role_id") Long id,@Param("permissionId") List<Long> permissionIds);
}
